import { createAPI } from '@/utils/request'
//封装获取数据的参数
export const list = data => createAPI('/questions/choice/', 'get', data)
    //获取学科列表
export const getsubject = data => createAPI('/subjects', 'get', data)
    //获取目录列表
export const getdirectorys = data => createAPI('/directorys', 'get', data)
    //获取标签
export const gettags = data => createAPI('/tags', 'get', data)